package dome2;


import dome1.TestDome1;






public class TestDome3 extends TestDome1 {

    public TestDome3(String name) {
        super(name);
    }

    public void show() {
        System.out.println(super.name);
    }

    public static void main(String[] args) {

        TestDome3 testDome3 = new TestDome3("王五");
        testDome3.show();

    }
}
